
  <h1>New Memory Lane </h1>

<% form_for(@memorylane) do |f| %>
  <% if f.error_messages.length > 0 -%>
      <div class="errors"><%= f.error_messages %></div>

 <% end -%>




                <div class="dialog">
                    <table>
                        <tbody>
                            <tr class="prop">
                                <td valign="top" >
                                    <label for="title">Title:</label>
                                </td>
                                <td valign="top" >
                                    <%= f.text_field :title %>

                                </td>
                            </tr>
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="description">Description:</label>
                                </td>
                                <td valign="top" >
                                      <%= f.text_area :description %>
                                </td>
                            </tr>
                             <tr class="prop">
                                <td valign="top" >
                                    <label for="timeline_plugin_register_id">Template:</label>
                                </td>
                                <td valign="top" >
                                    <%= f.text_field :timeline_plugin_register_id %>

                                </td>
                            </tr>
                             <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="timeline_js">Timeline Javascript:</label>
                                </td>
                                <td valign="top" >
                                      <%= f.text_area :timeline_js %>
                                </td>
                            </tr>

                        </tbody>
                    </table>
                </div>
                <%= f.hidden_field :user_id, :value =>@facebook_user.uid %>
                <div class="buttons">
                    <span class="button">
                        <input class="save" type="submit" value="Create"/>
                    </span>
                </div>





<% end %>

      <br>

<%= link_to 'Back', timelines_path %>